package com.shicijiaoliu.service;

import com.shicijiaoliu.pojo.Mainpost;

import java.util.List;

public interface Mainpostservice {
    int  getcount(String title, long aId, long mId);


    List<Mainpost> findBypage(int pagecount, int pagenumber, String title, long aId, long mId);


    void delByid(long id);

    Mainpost findByid(long id);


    Mainpost findBytitle(String title);

    void jiajing(long mId);

    List<Mainpost> getlist();

    List<Mainpost> findBysid(long sid);

    void update(Mainpost mpost);

    void jubao(long mId);

    void add(Mainpost mpost);
}


